package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.mybatisflex.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 存储类型
 * @author panbo
 * @since 2024/7/19
 */
@Getter
@RequiredArgsConstructor
@Dict("存储类型")
public enum StorageTypeEnum implements DictEnum<Integer> {

    /**
     * 兼容S3协议存储
     */
    S3(1, "兼容S3协议存储"),

    /**
     * 本地存储
     */
    LOCAL(2, "本地存储"),;

    @EnumValue
    private final Integer value;
    private final String label;
}

